Optimization of guideline-directed medical therapy